package leetCode.solution;

public class Solution461 {

	public static void main(String[] args) {
		System.out.println(new Solution461().hammingDistance(1, 3));
	}
	public int hammingDistance(int x, int y) {
		return Integer.bitCount(x^y);
    }
}
